"""
    Define exceptions specific to pdf2image
"""

class PDFInfoNotInstalledError(Exception):
    "Happens when pdfinfo is not installed"
    pass

class PDFPageCountError(Exception):
    "Happens when the pdfinfo was unable to retrieve the page count"
    pass

class PDFSyntaxError(Exception):
    "Syntax error was thrown during rendering"
    pass
